package com.lottery.service.pc28.lobbyService;

import com.lottery.dto.ResultDto;
import com.lottery.dto.SscOddsShow;
import com.lottery.entity.LotteryOdds;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface LotteryOddsService {

	/**
	 * 修改赔率表
	 * 
	 * @param lotteryOdds
	 * @return
	 */
	ResultDto<LotteryOdds> updateLotteryOdds(LotteryOdds lotteryOdds);

	/**
	 * 查询赔率表所有数据
	 * 
	 * @return
	 */
	ResultDto<LotteryOdds> selectLotteryOddsList();

	/**
	 * 查询分成比例
	 * 
	 * @return
	 */
	ResultDto<Double> selectLotteryOddsRatio();

	/**
	 * 修改分成比例
	 * 
	 * @return
	 */
	ResultDto<Double> updateLotteryOddsRatio(Double ratio);

	/**
	 * app赔率展示
	 */
	Map<String,List<SscOddsShow>> selectLotteryOddsSshow(int lotteryType);


}
